package com.OrderingServer.pojo;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * <p>
 * 
 * </p>
 *
 * @author xingo
 * @since 2025-08-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(value="OrderMaster对象", description="")
public class OrderMaster implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "order_id")
    private String orderId;

    @ApiModelProperty(value = "买家名字")
    private String buyerName;

    @ApiModelProperty(value = "买家电话")
    private String buyerPhone;

    @ApiModelProperty(value = "买家地址")
    private String buyerAddress;

    @ApiModelProperty(value = "买家微信openid")
    private String buyerOpenid;

    @ApiModelProperty(value = "订单总金额")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "订单状态, 默认为新下单")
    private Integer orderStatus;

    @ApiModelProperty(value = "支付状态, 默认未支付")
    private Integer payStatus;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "修改时间")
    private String updateTime;
    @ApiModelProperty(value = "删除状态")
    private String del;

    public OrderMaster(String orderId, String del) {
        this.orderId = orderId;
        this.del = del;
    }
}
